'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.get('/music', controller.music.index);
  router.get('/movie', controller.movie.index);
  router.get('/my/:id', controller.my.index);
  router.post("/login",controller.login.index)
};
